//
//  MyTableViewCell.m
//  LazyCat
//
//  Created by zhanshu on 15/9/7.
//  Copyright (c) 2015年 zhanshu. All rights reserved.
//

#import "MyTableViewCell.h"

@implementation MyTableViewCell


- (IBAction)cellButtonAction:(id)sender {
    if ([_delegate respondsToSelector:@selector(tableViewCell:btn:)]) {
        [_delegate tableViewCell:self btn:sender];
    }
}

- (void)drawRect:(CGRect)rect {
    CGRect fm = [self frame];
    self.imgOne.frame = CGRectMake((ScreenWidth/2 - 94)/2, (fm.size.height-94)/2, 94, 94);
    self.imgTwo.frame = CGRectMake((ScreenWidth/2 - 94)/2+ScreenWidth/2, (fm.size.height-94)/2, 94, 94);
    
}
- (void)awakeFromNib {
    // Initialization code
//    _redPointL.layer.cornerRadius = 3.0;
//    _redPointL.layer.masksToBounds = YES;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}

@end
